ACTOR BrutalDeagle : BrutalWeapon
{
	Weapon.AmmoUse1 0
	Weapon.AmmoGive1 0
	Weapon.AmmoUse2 0
	Weapon.AmmoGive2 0
	Weapon.AmmoType1 "Clip3"
	Weapon.AmmoType2 "BDDeagleAmmo"
	weapon.selectionorder 3800
	Obituary "%o was shot down by %k's Deagle."
    AttackSound "None"
    Inventory.PickupSound "DEAGIN"
	Inventory.ForbiddenTo Sorcerer, Corvus
	Inventory.Pickupmessage "You got the Deagle! (Slot 2)"
    +WEAPON.NOAUTOAIM
	+WEAPON.NOAUTOFIRE
	+WEAPON.NOALERT
	+WEAPON.NO_AUTO_SWITCH
	//+WEAPON.WIMPY_WEAPON
    +FORCEXYBILLBOARD
	Scale 0.9
	Tag "Deagle"
	States
	{
	KickingFlash:
	TNT1 A 0 A_TakeInventory("Zoomed",1)
	DEAG QRSTUUUUUUUUTSRQ 1
	stop
	
	AirKickingFlash:
	TNT1 A 0 A_TakeInventory("Zoomed",1)
	DEAG QRSTUUUUUUUUUUTSRQ 1
	    stop
	
	 SlideKickingStart:
	 TNT1 A 0 A_TakeInventory("Zoomed",1)
	    DEAG QRSTU 1
	    DEAG UU 17 //39 total
	    Stop

	 SlideKickingEnd:
	 TNT1 A 0 A_TakeInventory("Zoomed",1)
	    DEAG UUUUUUTSRQ 1
	    Stop
	
	Ready3:
	Ready:
	    TNT1 A 0 A_JumpIfInventory("Zoomed",1,"Ready2")
        DEAG A 0 A_JumpIfInventory("Kicking",1,"DoKick")
        DEAG A 0 A_JumpIfInventory("Taunting",1,"Taunt")
		DEAG A 0 A_JumpIfInventory("Salute1", 1, "Salute")
		DEAG A 0 A_JumpIfInventory("Salute2", 1, "Salute")
        DEAG A 0 A_JumpIfInventory("Reloading",1,"Reload")
		DEAG A 0 A_JumpIfInventory("TossGrenade",1,"TossGrenade")
		DEAG A 1 A_WeaponReady(WRF_ALLOWRELOAD)
		DEAG A 0 A_JumpIfInventory("StartDualWield",1,"DualWield")
		Loop	
		
	Deselect:
	    TNT1 A 0 A_ZoomFactor(1)
	    DEAG A 0 A_Takeinventory("Zoomed",1)
		DEAG A 0 A_Takeinventory("ADSmode",1)
	    TNT1 A 0 A_JumpIfInventory ("SwitchingDualDeagles", 1, "DeselectToDual")
        DEAG MNOP 1
		TNT1 AAAAAAAAAAAAAAAAAA 0 A_Lower
		DEAG A 0 A_TakeInventory("TossGrenade", 1)
		TNT1 A 1 A_Lower
		Wait
		
	DeselectToDual:
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
		Wait
			
	Select:
		DEAG A 0 A_Giveinventory("GoSpecial",1)
		TNT1 A 0 A_JumpIfInventory ("SwitchingDualDeagles", 1, "SelectFromDual")
		TNT1 A 0 A_JumpIfInventory ("FiredSecondDeagle", 1, "SelectAfterFireOops")
		Goto SelectAnimation	
		
	SelectAnimation:
	    TNT1 A 1
		TNT1 AAAAAAAAAAAAAAA 0 A_Raise
	    DEAG A 0 A_JumpIfInventory("GoFatality", 1, "Steady")
        DEAG A 0 A_PlaySound("DEAGIN")
        DEAG PONM 1 A_WeaponReady(WRF_NOFIRE)
		DEAG A 0 A_Takeinventory("StartDualWield",1)
        DEAG A 0 A_GunFlash
		Goto Ready
		
	SelectFromDual:
	    TNT1 A 0 A_TakeInventory("SwitchingDualDeagles",1)
	    TNT1 AAAAAAAAAAAAAAA 0 A_Raise
        DEA3 SRQPONM 1 A_WeaponReady(WRF_NOFIRE)
		DEAG A 0 A_Takeinventory("StartDualWield",1)
        DEAG A 0 A_GunFlash
		Goto Ready
		
	 SelectAfterFireOops:
	    TNT1 A 0 A_TakeInventory("FiredSecondDeagle",1)
		TNT1 A 0 A_TakeInventory("DualDeagles",1)
	    TNT1 AAAAAAAAAAAAAAA 0 A_Raise
        DEA3 HIJKL 1 A_WeaponReady(WRF_NOFIRE)
		DEAG A 0 A_Takeinventory("StartDualWield",1)
        DEAG A 0 A_GunFlash
		Goto Ready


	
    Fire:
	    TNT1 A 0 A_JumpIfInventory("Zoomed",1,"FireADS")
        DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",1,2)
        Goto NoAmmo
        TNT1 AAAA 0
		DEAG A 0 A_AlertMonsters
		
		//RIFF A 0 A_FireCustomMissile("DistantFireSoundShotgun", random(-1,1), 0, 0, -12, 0, random(-1,1))
		DEAG A 0 A_PlaySound("DISTDEAG", 6)
        DEAG A 0 A_PlaySound("DEAGFIRE", 1)
		DEAG A 0 A_ZoomFactor(0.98)
		DEAG B 1 BRIGHT A_FireBullets (0.35, 0.25, -1, random(50,100), "MachinegunBulletPuff")
		TNT1 A 0 A_Quake(6, 6, 0, 0, none)
		DEAG A 0 A_ZoomFactor(1.0)
		TNT1 A 0 A_JumpIfInventory("NoFancyShooting", 1, 2)// For poor PCs
        RIFF A 0 A_FireCustomMissile("DecorativeTracer", random(-1,1), 0, 0, 0)
		DEAG A 0 A_Takeinventory("BDDeagleAmmo",1)
		DEA3 A 0 A_Takeinventory("BDDualDeagleAmmo",1)
        DEAG C 1 BRIGHT
		TNT1 A 0 A_Recoil(0.5)
		DEAG A 0 A_FireCustomMissile("HeavyRifleCaseSpawn",5,0,8,-8)
		DEAG D 1 A_SetPitch(pitch-8, SPF_INTERPOLATE)
        DEAG E 1 A_SetPitch(pitch-2, SPF_INTERPOLATE)
		DEAG FG 1 A_WeaponReady(WRF_NOBOB)
		DEAG H 1 A_SetPitch(pitch+2.5, SPF_INTERPOLATE)
		"####" I 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+2.5, SPF_INTERPOLATE)
		"####" J 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+2, SPF_INTERPOLATE)
		"####" K 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+1, SPF_INTERPOLATE)
		"####" L 1 A_WeaponReady(WRF_NOBOB | WRF_ALLOWRELOAD)
		"####" A 0 A_SetPitch(pitch+1, SPF_INTERPOLATE)

		Goto Ready
		
   AltFire:
       TNT1 A 0 A_JumpIfInventory("Zoomed",1,"StopAlt")
	   TNT1 A 0 A_ZoomFactor(1.2)
	   DEAG XY 1
	   TNT1 A 0 A_GiveInventory("Zoomed",1)
	   Goto Ready2
	   
	 StopAlt:
	 TNT1 A 0 A_TakeInventory("Zoomed",1)
	 TNT1 A 0 A_ZoomFactor(1)
	 DEAG YX 1
	 Goto Ready
	 
	Ready2:
        DEA9 A 0 A_JumpIfInventory("Kicking",1,"DoKick")
        DEA9 A 0 A_JumpIfInventory("Taunting",1,"Taunt")
		DEA9 A 0 A_JumpIfInventory("Salute1", 1, "Salute")
		DEA9 A 0 A_JumpIfInventory("Salute2", 1, "Salute")
        DEA9 A 0 A_JumpIfInventory("Reloading",1,"Reload")
		DEA9 A 0 A_JumpIfInventory("TossGrenade",1,"TossGrenade")
		DEA9 A 0 A_JumpIfInventory("Unloading",1,"Unload")
		DEA9 A 1 A_WeaponReady(WRF_ALLOWRELOAD)
		DEA9 A 0 A_JumpIfInventory("StartDualWield",1,"DualWield")
		Loop
		
	FireADS:
	    DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",1,2)
        Goto NoAmmo3
        TNT1 AAAA 0
		DEAG A 0 A_AlertMonsters
		
		//RIFF A 0 A_FireCustomMissile("DistantFireSoundShotgun", random(-1,1), 0, 0, -12, 0, random(-1,1))
		DEAG A 0 A_PlaySound("DISTDEAG", 6)
        DEAG A 0 A_PlaySound("DEAGFIRE", 1)
		DEAG A 0 A_ZoomFactor(1.28)
		DEA9 B 1 BRIGHT A_FireBullets (0.1, 0.1, -1, random(50,100), "HeavyRifleBulletPuff")
		TNT1 A 0 A_Quake(6, 6, 0, 0, none)
		DEAG A 0 A_ZoomFactor(1.2)
		TNT1 A 0 A_JumpIfInventory("NoFancyShooting", 1, 2)// For poor PCs
        RIFF A 0 A_FireCustomMissile("DecorativeTracer", random(-1,1), 0, 0, 0)
		DEAG A 0 A_Takeinventory("BDDeagleAmmo",1)
		DEA3 A 0 A_Takeinventory("BDDualDeagleAmmo",1)
        DEA9 C 1 BRIGHT
		TNT1 A 0 A_Recoil(0.5)
		DEAG A 0 A_FireCustomMissile("HeavyRifleCaseSpawn",5,0,0,-3)
		DEA9 D 1 A_SetPitch(pitch-4, SPF_INTERPOLATE)
        DEA9 E 1 A_SetPitch(pitch-2, SPF_INTERPOLATE)
		DEA9 FG 1 A_WeaponReady(WRF_NOBOB)
		DEA9 H 1 A_SetPitch(pitch+2, SPF_INTERPOLATE)
		"####" I 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+1, SPF_INTERPOLATE)
		"####" J 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+1, SPF_INTERPOLATE)
		"####" K 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+1, SPF_INTERPOLATE)
		"####" L 1 A_WeaponReady(WRF_NOBOB)
		"####" A 0 A_SetPitch(pitch+1, SPF_INTERPOLATE)
		Goto Ready2

		
		
	Blinded:
	    FLMT A 0 A_PlaySound("EARRING", CHAN_WEAPON, 1, 1)
		LMAO DCBA 1
		TNT1 A 0 A_Print("You suffered a serious head injury!")
	BlindedLoop:
	LMAO D 0 A_StopSound(0)
	LMAO D 0 A_StopSound(2)
	LMAO D 0 A_StopSound(3)
	LMAO D 0 A_StopSound(4)
	LMAO D 0 A_StopSound(5)
	LMAO D 0 A_StopSound(6)
	LMAO D 0 A_StopSound(7)
	LMAO D 0 A_StopSound(8)
	LMAO A 1
	Loop

	     
	NoAmmo3:
		RIFG A 0 A_ZoomFactor(1.2)
		RIFG A 0 A_Takeinventory("Zoomed",1)
		RIFG A 0 A_Takeinventory("ADSmode",1)
		RIFG A 0 A_JumpIfInventory("TurboReload",1,"TurboReload")
		TNT1 A 0 A_PlaySound("weapons/empty", 4)
		DEA9 A 3 A_WeaponReady(WRF_ALLOWRELOAD | WRF_NOFIRE)
		RIFG A 0 A_JumpIfInventory("Reloading",1,"Reload")
		RIFG A 0 A_JumpIfInventory("TurboReload",1,"TurboReload")
		TNT1 A 0 A_JumpIfInventory("NoAutoReload", 1, "Ready3")
		RIFG A 0 A_JumpIfInventory("Clip3",3,"Reload")
		RIFG A 0 A_JumpIfInventory("FiredPrimary",1,"NoAmmo2")
		Goto Ready2
		
	NoAmmo:
	    TNT1 A 0 A_JumpIfInventory("Zoomed",1,"NoAmmo3")
		RIFG A 0
		RIFG A 0 A_ZoomFactor(1.0)
		RIFG A 0 A_Takeinventory("Zoomed",1)
		RIFG A 0 A_Takeinventory("ADSmode",1)
		RIFG A 0 A_JumpIfInventory("TurboReload",1,"TurboReload")
		TNT1 A 0 A_PlaySound("weapons/empty", 4)
	NoAmmo2:
		RIFG A 0 A_JumpIfInventory("TossGrenade",1,"TossGrenade")
	    RIFG A 0 A_JumpIfInventory("Taunting",1,"Taunt")
		RIFG A 0 A_JumpIfInventory("Salute1", 1, "Salute")
		RIFG A 0 A_JumpIfInventory("Salute2", 1, "Salute")
		RIFG A 0 A_JumpIfInventory("ExecuteDownedEnemy", 1, "DoExecution")
		RIFG A 0 A_JumpIfInventory("Kicking",1,"DoKick")
		DEAG A 3 A_WeaponReady(WRF_ALLOWRELOAD | WRF_NOFIRE)
		RIFG A 0 A_JumpIfInventory("Reloading",1,"Reload")
		RIFG A 0 A_JumpIfInventory("TurboReload",1,"TurboReload")
		TNT1 A 0 A_JumpIfInventory("NoAutoReload", 1, "Ready3")
		RIFG A 0 A_JumpIfInventory("Clip3",1,"Reload")
		RIFG A 0 A_JumpIfInventory("FiredPrimary",1,"NoAmmo2")
		Goto Ready3
	
	UnzoomFirst:
	 TNT1 A 0 A_TakeInventory("Zoomed",1)
	 TNT1 A 0 A_ZoomFactor(1)
	 DEAG YXA 1
	 Goto uwu
	
     Reload:
		DEAG A 0 A_Takeinventory("Reloading",1)
		//DEAG A 0 A_Takeinventory("ADSmode",1)
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",8,"Ready")

        DEAG A 0 A_JumpIfInventory("Clip3",1,3)
        Goto NoAmmo
        TNT1 AAA 0
		TNT1 A 0 A_JumpIfInventory("Zoomed",1,"UnzoomFirst")
		DEAG A 0 A_Takeinventory("Zoomed",1)
        DEAG A 0 A_ZoomFactor(1.0)
		uwu:
		DEAG A 0 A_GiveInventory ("Pumping", 1)
		DEAG A 0 A_Takeinventory("Reloading",1)
		DEAG A 0 A_JumpIfInventory("TurboReload",1,"TurboReload")
		//DEAG A 0 A_PlaySound("reload")
		DEAR ABCD 1
		DEAG A 0 A_PlaySound("DEAGOUT")
		DEAG A 0 A_JumpIfInventory("HasUnloaded", 1, 3)
		RIFR C 0 A_FireCustomMissile("EmptyDeagleClipSpawn",-18,0,18,-15)
		TNT1 AA 0
		DEAR EFG 1
		DEAR H 1
		DEAR I 4
		DEAR JJKLMNOPP 1
		DEAR Q 3
		DEAR RS 1
		DEAG A 0 A_PlaySound("DEAGIN")
		DEAR TUVWX 1
		DEAR Y 5
		DEAG A 0 A_PlaySound("DEAGSLID")
		DEAR Z 1
		DEA2 A 1
		DEA2 B 3
		DEA2 CDEFGH 1

		DEAG A 0 A_Takeinventory("HasUnloaded",1)
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",1,"InsertBullets2")//15+1 effect

		
	TurboReload:
		DEAG A 0 A_Takeinventory("HasUnloaded",1)
        PISS BA 0
        Goto InsertBullets
		
	InsertBullets:
		TNT1 AAAA 0
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",7,15)
		DEAG A 0 A_JumpIfInventory("Clip3",1,3)
		Goto Ready
        TNT1 AAAAAA 0
		DEAG A 0 A_Giveinventory("BDDeagleAmmo",1)
		DEAG A 0 A_Giveinventory("BDDualDeagleAmmo",1)
		DEAG A 0 A_Takeinventory("Clip3",1)
		Goto InsertBullets
		
		TNT1 AAAAAAAAAA 0
		DEAG A 0 A_Takeinventory("Reloading",1)
		
		DEAG A 0 A_Refire
        Goto Ready
		TNT1 AAAA 0
		DEAG A 0 A_Takeinventory("Reloading",1)
		
		DEAG A 0 A_Refire
        Goto Ready
		
	InsertBullets2:
		TNT1 AAAA 0
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",8,15)
		DEAG A 0 A_JumpIfInventory("Clip3",1,3)
		Goto Ready
        TNT1 AAAAAA 0
		DEAG A 0 A_Giveinventory("BDDeagleAmmo",1)
		DEAG A 0 A_Giveinventory("BDDualDeagleAmmo",1)
		DEAG A 0 A_Takeinventory("Clip3",1)
		Goto InsertBullets2
		
		TNT1 AAAAAAAAAA 0
		DEAG A 0 A_Takeinventory("Reloading",1)
		DEAG A 0 A_Refire
        Goto Ready
		TNT1 AAAA 0
		DEAG A 0 A_Takeinventory("Reloading",1)
		
		DEAG A 0 A_Refire
        Goto Ready	
 	Spawn:
		DEAG A 0
		DEAG W -1
		Stop
		
		
	Steady:
		TNT1 A 1
		Goto Ready	
		
		
	UnzoomFirstUnload:
	 TNT1 A 0 A_TakeInventory("Zoomed",1)
	 TNT1 A 0 A_ZoomFactor(1)
	 DEAG YXA 1
	 Goto uwuUnload	
		
	Unload:
		//DEAG A 1 A_WeaponReady
		DEAG A 0 A_Takeinventory("Unloading",1)
		DEAG A 0 A_Takeinventory("ADSmode",1)
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",1,3)
        Goto NoAmmo
        TNT1 AAA 0
		DEAG A 0 A_Takeinventory("Zoomed",1)
		TNT1 A 0 A_JumpIfInventory("Zoomed",1,"UnzoomFirstUnload")
        DEAG A 0 A_ZoomFactor(1.0)
	uwuUnload:
		DEAG A 0 A_GiveInventory ("Pumping", 1)
		DEAG A 0 A_Takeinventory("Reloading",1)
		DEAU ABCDEFGHI 1
		DEAG A 0 A_PlaySound("DEAGSLID")
		DEAU J 1
		DEAG A 0 A_PlaySound("DEAGOUT",3)
		DEAU KLMNOPQRSTUVW 1
		DEAG A 0 A_Giveinventory("HasUnloaded",1)
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",1,"RemoveBullets")

	RemoveBullets:
		TNT1 AAAA 0
		DEAG A 0 A_JumpIfInventory("BDDeagleAmmo",1,3)
		Goto Ready
        TNT1 AAAAAA 0
		DEAG A 0 A_Takeinventory("BDDeagleAmmo",1)
		DEAG A 0 A_Takeinventory("BDDualDeagleAmmo",1)
		DEAG A 0 A_Giveinventory("Clip3",1)
		Goto RemoveBullets
		
		TNT1 AAAAAAAAAA 0
		DEAG A 0 A_Takeinventory("Reloading",1)
		
		DEAG A 0 A_Refire
        Goto Ready
		TNT1 AAAA 0
		DEAG A 0 A_Takeinventory("Reloading",1)
		
		DEAG A 0 A_Refire
        Goto Ready
		
		
	DualWield:
		TNT1 A 0
		DEAG A 0 A_Takeinventory("StartDualWield",1)
		DEAG A 0 A_JumpIfInventory("DualDeagles", 1, "GetDual")
		DEAG A 0 A_Print("You need two Deagles to Dual wield.",3)
		Goto Ready
		
	 GetDual:	
		DEAG A 0
		DEAG A 0 A_Takeinventory("Zoomed",1)
		DEAG A 0 A_Takeinventory("ADSmode",1)
		DEAG A 0 A_TakeInventory("TossGrenade", 1)
		DEAG A 0 A_TakeInventory("Kicking",1)
        DEAG A 0 A_TakeInventory("Taunting",1)
        DEAG A 0 A_TakeInventory("Reloading",1)
		DEAG A 0 A_TakeInventory("Unloading",1)
		DEAG A 0 A_TakeInventory("Salute1", 1)
		DEAG A 0 A_TakeInventory("Salute2", 1)
		//TNT1 A 0 A_GiveInventory("SwitchingDualDeagles", 1)
        DEAG A 0 A_ZoomFactor(1.0)
		TNT1 A 0 A_GiveInventory("SwitchingDualDeagles",1)
		DEAG A 0 A_SelectWEapon("DualDeagles")
		Goto Ready	
	}
}


ACTOR EmptyDeagleClipSpawn
{
	Speed 20
	PROJECTILE
	+NOCLIP
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 1 A_CustomMissile("EmptyDeagleClip",1,0,random(85,95),2,1)
		Stop
	}
}


ACTOR EmptyDeagleClip
{
   Height 2
   Radius 2
   Speed 4
   Scale 0.60
   +DOOMBOUNCE
   - NOGRAVITY
   +WINDTHRUST
   +CLIENTSIDEONLY
   +MOVEWITHSECTOR
   +MISSILE
   +NOBLOCKMAP
   -DROPOFF
   +NOTELEPORT
   +FORCEXYBILLBOARD
   +NOTDMATCH
   +GHOST
   BounceFactor 0.6
   Mass 1
   SeeSound "weapons/smallmagdrop"
   DeathSound "weapons/smallmagdrop"
   BounceSound "weapons/smallmagdrop"
   States
   {
   Spawn:
      TNT1 A 7 A_PlaySound("NULL")
      ECLI IJKLMNOPIJKLMNOPIJKLMNOPIJKLMNOPIJKLMNOP 4
      Stop
   Death:
	  TNT1 A 0
	  TNT1 A 0 ACS_NamedExecuteAlways("BDCheckJanitor")//Check Effects
	  TNT1 A 0 ACS_NamedExecuteAlways("BDCheckJanitor2")//Check Effects
      ECLI K 200
	  TNT1 A 0 A_JumpIfInventory("LowGraphicsMode", 1, "Stoping")
      Loop
	Stoping:
		TNT1 A 0
		Stop
   }
}

Actor DeagleShakeScreen: DecorativeTracer
{
Speed 2
Mass 0
States
{
Spawn:
TNT1 A 0 Radius_Quake (3, 8, 0, 15, 0)//, 15, 0)//(intensity, duration, damrad, tremrad, tid)
Stop
}}


ACTOR DeagleCaseSpawn : RifleCaseSpawn
{
	States
	{
	Spawn:
        TNT1 A 0
		TNT1 A 1 A_CustomMissile("DeagleCasing",0,0,random(-80,-100),2,random(40,60))
		Stop
	}
} 

ACTOR DeagleCasing: EMptyBrass
{
   
   Scale 0.22
   BounceFactor 0.5
   States
   {
   Spawn:
	  TNT1 A 0
	  
      C4S1 FFGGHHAABBCCDDEEFFGGHHAABBCCDDEEFFGGHHAABBCCDDEE 1
      STOP

   Death:
       C4S1 I 0
	   TNT1 A 0 ACS_NamedExecuteAlways("BDCheckJanitor")//Check Effects
	   TNT1 A 0 ACS_NamedExecuteAlways("BDCheckJanitor2")//Check Effects
      LCPJ A 0 A_Jump(256,"Rest1","Rest2","Rest3","Rest4","Rest5")
      Goto Rest1
    Rest1:
      C4S1 I 200
	  TNT1 A 0 A_JumpIfInventory("LowGraphicsMode", 1, "Stoping")
      Loop
    Rest2:
      C4S1 J 200
	  TNT1 A 0 A_JumpIfInventory("LowGraphicsMode", 1, "Stoping")
      Loop
    Rest3:
      C4S1 K 200
	  TNT1 A 0 A_JumpIfInventory("LowGraphicsMode", 1, "Stoping")
      Loop
    Rest4:
      C4S1 L 200
	  TNT1 A 0 A_JumpIfInventory("LowGraphicsMode", 1, "Stoping")
      Loop
    Rest5:
      C4S1 M 200
	  TNT1 A 0 A_JumpIfInventory("LowGraphicsMode", 1, "Stoping")
      Loop
	  }
}


ACTOR BDDeagleAmmo: Ammo {Inventory.MaxAmount 8 Inventory.Icon "DEAGW0"}

ACTOR SwitchingDualDeagles: Inventory {Inventory.MaxAmount 1}